package com.wideplay.warp.security;

/**
 * Created with IntelliJ IDEA.
 * On: 25/09/2007
 *
 * The first port of call to building a security module. Use this in conjunction with
 * the SecurityFilter in web.xml to get your integration going. This class is basically
 * a static contract (and as such has no impl).
 *
 *
 * @author Dhanji R. Prasanna
 * @since 1.0
 */
public abstract class SecurityService {

    public static SecurityModuleBuilder usingAcegi() {
        return new FluentSecurityModuleBuilderImpl();
    }

    /**
     * This method should be called to startup the security pipeline and
     *  prepare the acegi environment for requests.
     */
    public abstract void start();
}
